Automattic\WooCommerce\Blocks\Utils\StyleAttributesUtils B

Total Complexity 76
Dependencies 0
Dependents 12
Total lines 622
Lines of code 352
Logical lines of code 158
Comment lines 173
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_border_color_class_and_style()
A
50 9 27
get_align_class_and_style()
A
49 7 37
get_classes_and_styles_by_attributes()
S
46 4 43
get_text_align_class_and_style()
S
53 5 25
get_border_radius_class_and_style()
S
52 5 25
get_text_color_class_and_style()
S
54 5 21
get_background_color_class_and_style()
S
54 5 21
get_border_width_class_and_style()
S
54 5 20
get_font_size_class_and_style()
S
56 5 19
get_link_color_class_and_style()
S
54 3 21
get_padding_class_and_style()
S
59 3 14
get_margin_class_and_style()
S
59 3 14
get_spacing_value()
S
67 3 7
get_color_value()
S
67 3 7
get_line_height_class_and_style()
S
63 2 10
get_font_weight_class_and_style()
S
63 2 10
get_font_family_class_and_style()
S
64 2 10
get_font_style_class_and_style()
S
63 2 10
get_classes_by_attributes()
S
74 1 4
get_styles_by_attributes()
S
74 1 4
get_preset_value()
S
80 1 3